package com.zanfeng.signleplatform.api.result.modules.auth;

import com.zanfeng.signleplatform.api.result.modules.module.ModuleResult;
import com.zanfeng.signleplatform.api.result.modules.permission.PermissionResult;
import com.zanfeng.signleplatform.base.BaseResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

@ApiModel(value = "RoleModulePermissionResult", description = "RoleModulePermissionResult")
public class RoleModulePermissionResult extends BaseResult {

    @ApiModelProperty(value = "模块列表")
    private List<ModuleResult> moduleResultList;
    @ApiModelProperty(value = "权限列表")
    private List<PermissionResult> permissionResultList;

    public RoleModulePermissionResult() {
        this.moduleResultList = new ArrayList<>();
        this.permissionResultList = new ArrayList<>();
    }

    public List<ModuleResult> getModuleResultList() {
        return moduleResultList;
    }

    public void setModuleResultList(List<ModuleResult> moduleResultList) {
        this.moduleResultList = moduleResultList;
    }

    public List<PermissionResult> getPermissionResultList() {
        return permissionResultList;
    }

    public void setPermissionResultList(List<PermissionResult> permissionResultList) {
        this.permissionResultList = permissionResultList;
    }
}
